package com.product.system.domain.response;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelIgnoreUnannotated
public class ArgpMachining {


    //作物编号

    private Long machiningId;

    @ExcelProperty({"加工信息","作物编号"})
    private Integer argpId;
    //原料厂商
    @ExcelProperty({"加工信息","原料厂商"})
    private String sourse;
    //加工状态
    @ExcelProperty({"加工信息","加工状态"})
    private String status;
    //库状态
    @ExcelProperty({"加工信息","库状态"})
    private String libraryStatus;
    //原料厂商负责人
    @ExcelProperty({"加工信息","原料厂商负责人"})
    private String materialName;
    //加工日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty({"加工信息","加工日期"})
    private Date createTime;
    //负责人姓名
    @ExcelProperty({"加工信息","负责人姓名"})
    private String responsibilityName;
    //负责人电话
    @ExcelProperty({"加工信息","负责人电话"})
    private String responsibilityPhone;
    //创建时间
    @ExcelProperty({"加工信息","创建时间"})
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date establishTime;
    //创建人
    @ExcelProperty({"加工信息","创建人"})
    private String establishName;
    //备注
    @ExcelProperty({"加工信息","备注"})
    private String remark;

    private Integer provinceId;

    private Integer cityId;

    private Integer areaId;

    private String provinceName;

    private String cityName;

    private String areaName;




}
